home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 20 code / NetWare Development / Hello.c
Encoding:
C/C++ Source or Header  |  1994-10-14  |  928 b   |  30 lines  |  [TEXT/MPS ]

  1. /*    HELLO.NLM
  2.  *    This trivial NLM prints the traditional message "Hello, world." on the server
  3.  *    console. Type "Load Hello" on the server to see it run.
  4.  *
  5.  *  Written by: Jamie Osborne   9/94
  6.  *
  7.  *  You may copy and modify this code at will.
  8.  *
  9.  *  Please note that this NLM is intended at a demonstration program.  At the time
  10.  *  of its creation, NetWare for PowerPC was in alpha.  As such, this program
  11.  *  may not compile and run without changes in the final product. (now THAT would
  12.  *    be sad . . . )
  13.  *
  14.  *    Apple Computer, Inc. makes no warranties about the the fitness of this code
  15.  *    for any purpose and will not be held liable for any damages you may suffer
  16.  *    from using this code.  Furthermore, Apple Computer, Inc. will not be held
  17.  *    liable for the death of Elvis or any other space alien.
  18.  *
  19.  *    Your mileage may vary.
  20.  *
  21.  */
  22.  
  23. // Some standard includes
  24. #include <stdio.h>
  25.  
  26. main()
  27.     {
  28.         printf("Hello, world.\n");
  29.     }
  30.